package com.fastshopping.mall.service.impl;

import com.fastshopping.mall.dao.MallMapper;
import com.fastshopping.mall.service.MallService;
import com.fastshopping.order.pojo.Model;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Name: 李袁勇
 * @Date: 2020/6/6 18:55
 * @Version: 1.0
 **/

@Service
public class MallServiceImpl implements MallService {

    @Autowired
    private MallMapper mallMapper;

    @Override
    public List<Model> findAllMall(int user_id) {
        List <Model> allMall = mallMapper.findAllMall(user_id);
        return allMall;
    }
}
